package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    List<NursingLevelVo> getAllNursingLevel();

    Page<NursingLevelVo> getNursingLevelList(NursingLevelDto nursingLevelDto);

    NursingLevelVo getNursingLevelById(Long id);

    void deleteNursingLevelById(Long id);

    void updateNursingLevelStatus(Long id, Integer status);

    void addNursingLevel(NursingLevel nursingLevel);

    void updateNursingLevel(NursingLevel nursingLevel);
}
